//
//  EFBViewController.m
//  ChartKit
//
//  Created by LiuYanli on 04/27/2015.
//  Copyright (c) 2014 LiuYanli. All rights reserved.
//

#import "EFBViewController.h"
#import "EFBChartsViewController.h"
#import "TCAirportModel.h"
#import "EFBTopView.h"

@interface EFBViewController ()
//@property (nonatomic, retain) NSArray *itemsArray;
//@property (nonatomic, retain) NSArray *itemsArray1;
//@property (nonatomic, retain) UIButton *versionButton;
//@property (nonatomic, retain) EFBTopView *topView;

@end

@implementation EFBViewController
- (id)init
{
    self = [super init];
    if (self)
    {
//        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadName:) name:@"kChartName" object:nil];
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];

//    self.view.backgroundColor = [UIColor colorWithRed:213/255.0 green:216/255.0 blue:223/255.0 alpha:1.0f];
//    EFBChartsViewController *chartView = [[EFBChartsViewController alloc] init];
//    chartView.view.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height);
//    [self.view addSubview:chartView.view];
//
//    EFBAccessoryBarItem *item = [[EFBAccessoryBarItem alloc] initWithStyleClass:@"accessory-lock" target:self action:@selector(barButtonItemTapped:)];
//    
//    EFBAccessoryBarItem *itemMark = [[EFBAccessoryBarItem alloc] initWithStyleClass:@"accessory-Nomark" target:self action:@selector(barButtonItemTapped:)];
//    
//    EFBAccessoryBarItem *itemRotate = [[EFBAccessoryBarItem alloc] initWithStyleClass:@"accessory-rotate" target:self action:@selector(barButtonItemTapped:)];
//    
//    self.itemsArray = @[item,itemMark,itemRotate];
//    self.itemsArray1 = @[item,itemMark];
//    self.accessoryItems = self.itemsArray;
//    
//    [self didFinishLoadView];

}


- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
